/*
 * @Date         : 2022-03-02 13:29:28
 * @LastEditors  : zu1662
 * @LastEditTime : 2022-03-02 22:17:10
 * @Description  : Markdown 编辑器页面
 * 
 * Copyright © 2022 by zu1662, All Rights Reserved. 
 */
import React from 'react'
import { Card } from '@douyinfe/semi-ui'
import Markdown from '@/components/Markdown'
import TypingCard from '@/components/TypingCard'

const MarkdownDemo = () => {
  const cardContent = `
    此页面用到的Markdown编辑器是<a href="https://github.com/nhn/tui.editor/tree/master/apps/react-editor" target="_blank">tui.editor(React版)</a>。
  `
  return (
    <div className="app-view">
      <TypingCard title="新手引导" source={cardContent} />
      <br />
      <Card bordered={false}>
        <Markdown />
      </Card>
    </div>
  )
}

export default MarkdownDemo
